Reads at least one byte of data from the Stream and copies it into the provided buffer.
Syntax
| Visual Basic (Declaration) | |
|---|
Public Overloads Function Read( _
ByVal buffer() As Byte _
) As Integer |
| Visual Basic (Usage) | Copy Code |
|---|
Dim instance As EnhancedStream
Dim buffer() As Byte
Dim value As Integer
value = instance.Read(buffer) |
Parameters
- buffer
- The storage location for the received data.
Return Value
The total number of bytes read into the buffer.
Exceptions
Remarks
Requirements
Target Platforms: Microsoft .NET Framework 2.0
See Also